package com.ruoyi.system.service;

import java.util.List;
import com.ruoyi.system.domain.WarehousingEntry;
import com.ruoyi.system.request.WarehousingEntryAdd;
import com.ruoyi.system.request.WarehousingEntryListRequest;
import com.ruoyi.system.response.WarehousingEntryList;

/**
 * 入库单Service接口
 * 
 * @author tanshen
 * @date 2023-08-21
 */
public interface IWarehousingEntryService 
{
    /**
     * 查询入库单
     * 
     * @param id 入库单主键
     * @return 入库单
     */
    public WarehousingEntry selectWarehousingEntryById(Long id);

    /**
     * 查询入库单列表
     * 
     * @param request 入库单
     * @return 入库单集合
     */
    public List<WarehousingEntryList> selectWarehousingEntryList(WarehousingEntryListRequest request);

    /**
     * 新增入库单
     * 
     * @param warehousingEntry 入库单
     * @return 结果
     */
    public int insertWarehousingEntry(WarehousingEntryAdd warehousingEntry);

    /**
     * 修改入库单
     * 
     * @param warehousingEntry 入库单
     * @return 结果
     */
    public int updateWarehousingEntry(WarehousingEntry warehousingEntry);

    /**
     * 批量删除入库单
     * 
     * @param ids 需要删除的入库单主键集合
     * @return 结果
     */
    public int deleteWarehousingEntryByIds(String ids);

    /**
     * 删除入库单信息
     * 
     * @param id 入库单主键
     * @return 结果
     */
    public int deleteWarehousingEntryById(Long id);
}
